package cn.boat.router.consumer;

public class OldNewConsumer {
    private String topics;  //旧消费者消费的主题
    private String partitionid;  // 旧消费者消费的分区
    private String oldConsumer;  // 旧消费者id
    private String newConsumer;  // 新消费者id

    public void set(String topics,
                    String partitionid,
                    String oldConsumer,
                    String newConsumer) {
        this.topics = topics;
        this.partitionid = partitionid;
        this.oldConsumer = oldConsumer;
        this.newConsumer = newConsumer;
    }
    public String getTopics() {
        return topics;
    }

    public void setTopics(String topics) {
        this.topics = topics;
    }

    public String getPartitionid() {
        return partitionid;
    }

    public void setPartitionid(String partitionid) {
        this.partitionid = partitionid;
    }

    public String getOldConsumer() {
        return oldConsumer;
    }

    public void setOldConsumer(String oldConsumer) {
        this.oldConsumer = oldConsumer;
    }

    public String getNewConsumer() {
        return newConsumer;
    }

    public void setNewConsumer(String newConsumer) {
        newConsumer = newConsumer;
    }
}
